package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Brand;
import com.itheima.goods.pojo.Category;
import entity.Result;

public interface CategoryService extends IService<Category> {

    Result<Category> findAll();

    Result add(Category category);

    Result<Category> findPage(Integer page, Integer size);

    Result<Category> TfindPage(Integer page, Integer size, Category category);

    Result findById(Integer id);

    Result updateById1(Category category, Integer id);

    Result deleteById(Integer id);
}